home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _549132BD9A1E49A58B9625B805B303C9 < prev    next >
Encoding:
Text File  |  2005-08-12  |  856 b   |  47 lines

  1. shader()
  2. {
  3.     Cull("ccw")
  4.     sortweight("preopaque")
  5.     pass()
  6.     {
  7.         Pixelshader("SunFlare.psh")
  8.         tmu()
  9.         {
  10.             texture()
  11.             {
  12.                 Image("SunFace.dds")
  13.             }
  14.         }
  15.         BlendFunc("one", "one")
  16.         DepthFunc("lequal", 0)
  17.         NoFog()
  18.     }
  19. }
  20.  
  21.  
  22. shader()
  23. {
  24.     Cull("ccw")
  25.     sortweight("preopaque")
  26.     pass()
  27.     {
  28.         tmu()
  29.         {
  30.             ColorOp("add_signed2", "tfactor", "tfactor_a", "current")
  31.         }
  32.         tmu()
  33.         {
  34.             texture()
  35.             {
  36.                 Image("SunFace.dds")
  37.             }
  38.             ColorOp("mul", "texture_a", "current", "current")
  39.         }
  40.         Tfactor(%daycolor_r, %daycolor_g, %daycolor_b,1)
  41.         BlendFunc("one", "one")
  42.         DepthFunc("lequal", 0)
  43.         NoFog()
  44.     }
  45. }
  46.  
  47.